home *** CD-ROM | disk | FTP | other *** search
- *** 1.5 1991/06/24 17:51:18
- --- Changelog 1992/03/08 17:49:16
- ***************
- *** 34,36 ****
- --- 34,48 ----
- (this is to catch cases where there is no '\' in the pathname)
-
- ------------------------------- Patchlevel 4 ---------------------------
- +
- + gprof.c:: ++jrb
- + pass underscores to the demangler.
- + link in demangler
- +
- + cplusdem.c:: ++jrb
- + c++ demangler
- +
- + Makefile:: ++jrb
- + link in demangler
- +
- + ------------------------------- Patchlevel 5 ---------------------------
- *** 1.3 1991/06/23 21:21:03
- --- Makefile 1992/03/08 17:49:16
- ***************
- *** 22,28 ****
- CROSSBIN = $(CROSSDIR)/bin
-
- CC = $(CROSSBIN)/cgcc
- ! CFLAGS = -O -DATARI=1 -I. -fomit-frame-pointer -fcombine-regs -DNDEBUG
-
- # Use the GNU getopt unless you have problems with it.
- GNU_GETOPT = getopt.o
- --- 22,28 ----
- CROSSBIN = $(CROSSDIR)/bin
-
- CC = $(CROSSBIN)/cgcc
- ! CFLAGS = -O2 -DATARI=1 -I. -fomit-frame-pointer -DNDEBUG
-
- # Use the GNU getopt unless you have problems with it.
- GNU_GETOPT = getopt.o
- ***************
- *** 32,39 ****
-
- all: $(PROGS) $(TESTS)
-
- ! gprof.ttp: gprof.o $(GNU_GETOPT_LONG)
- ! $(CC) -o gprof.ttp gprof.o $(GNU_GETOPT_LONG) -s
- gprof.o: gprof.c gmon.h
- $(CC) -c $(CFLAGS) gprof.c $(OUTPUT_OPTION)
-
- --- 32,39 ----
-
- all: $(PROGS) $(TESTS)
-
- ! gprof.ttp: gprof.o cplusdem.o $(GNU_GETOPT_LONG)
- ! $(CC) -o gprof.ttp gprof.o cplusdem.o $(GNU_GETOPT_LONG) -s
- gprof.o: gprof.c gmon.h
- $(CC) -c $(CFLAGS) gprof.c $(OUTPUT_OPTION)
-
- *** 1.6 1991/06/24 17:51:18
- --- PatchLev.h 1992/03/08 17:49:16
- ***************
- *** 1,4 ****
- ! #define PatchLevel "04"
-
- /*
- * the Patch Level above is to identify the version
- --- 1,4 ----
- ! #define PatchLevel "05"
-
- /*
- * the Patch Level above is to identify the version
- *** 1.5 1991/06/23 23:04:47
- --- gprof.c 1992/03/08 17:49:18
- ***************
- *** 2118,2129 ****
- for (sym= &tmpsyms[0], i=0; sym<&tmpsyms[n]; sym++) {
- if (!badsym (sym)) {
- syms[i].name=sym->n_un.n_name;
- -
- - #ifndef nounderscore
- - /* Remove the initial _ from the symbol name */
- - if (*(syms[i].name)=='_')
- - syms[i].name++;
- - #endif
- syms[i].value=sym->n_value;
- i++;
- }
- --- 2118,2123 ----
- ***************
- *** 2793,2800 ****
-
- n=0;
- for (np=syms, endp= &syms[nsym]; np<endp; np++) {
- ! char *demangled = cplus_demangle (np->name);
- ! char *name = demangled == NULL ? np->name : demangled;
-
- sprintf (buf, "%-15s %#6lx %d %2d.%2d[%d]",
- name, np->value, np->histo, np->ncalled, np->ncalls, np->cycnum);
- --- 2787,2804 ----
-
- n=0;
- for (np=syms, endp= &syms[nsym]; np<endp; np++) {
- ! char *demangled = cplus_demangle (np->name);
- ! char *name;
- !
- ! if (demangled)
- ! name = demangled;
- ! else {
- ! name = np->name;
- ! #ifndef nounderscore
- ! if (*name == '_')
- ! name++;
- ! #endif
- ! }
-
- sprintf (buf, "%-15s %#6lx %d %2d.%2d[%d]",
- name, np->value, np->histo, np->ncalled, np->ncalls, np->cycnum);
- ***************
- *** 2973,2979 ****
- {
- char *demangled = cplus_demangle (name);
- if (demangled == NULL)
- ! fputs (name, stream);
- else
- {
- fputs (demangled, stream);
- --- 2977,2989 ----
- {
- char *demangled = cplus_demangle (name);
- if (demangled == NULL)
- ! {
- ! #ifndef nounderscore
- ! if (*name == '_')
- ! name++;
- ! #endif
- ! fputs (name, stream);
- ! }
- else
- {
- fputs (demangled, stream);
- ***************
- *** 2981,2987 ****
- }
- }
-
- ! #ifdef atarist
- /* let this be dummy for now,
- if you want to throw in the cplusplus name demangler, simple
- delete this function, and link with cplus-dem.o
- --- 2991,2997 ----
- }
- }
-
- ! #if 0
- /* let this be dummy for now,
- if you want to throw in the cplusplus name demangler, simple
- delete this function, and link with cplus-dem.o
-